package spring.JUNIT.bean;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

public class IntegerStore implements Store<Integer> {

	@PostConstruct
	public void init() {
		System.out.println(this.getClass().getCanonicalName() + "is init");
	}

	@PreDestroy
	public void destroy() {
		System.out.println(this.getClass().getCanonicalName() + "is destroy");
	}

	public void say() {
		System.out.println(Integer.class.getCanonicalName());
	}
}
